package com.peaksport.pkms.permit.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.peaksport.framework.base.entity.DataBaseEntity;
import com.peaksport.framework.uuid.PKEntityType;

import lombok.Getter;
import lombok.Setter;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_pm_user")
@Getter
@Setter
public class UserEntity extends DataBaseEntity {
	
	@Column(name = "FPassword", nullable = false, length = 80)
	private String password;
	@Column(name = "FIsDelete", nullable = false)
	private boolean isDelete;
	@Column(name = "FIsLocked", nullable = false)
	private boolean isLocked;
	@Column(name = "FForbidden", nullable = false)
	private boolean isForbidden;
	@Column(name = "FIsBizAdmin", nullable = false)
	private boolean isBizAdmin;
	@Column(name = "FSupplierId", nullable = false, length = 44)
	private String supplierId;
	@Column(name = "FCustomerId", nullable = false, length = 44)
	private String customerId;
	@Column(name = "FPersonId", nullable = false, length = 44)
	private String personId;
	
	@Override
	public PKEntityType getEntityType() {
		return PKEntityType.create("13B7DE7F");
	}

}
